package cm.ph.shopping.facade.order.dto;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @项目：phshopping-facade-order
 * @描述：商品订单信息
 * @作者： Mr.zheng
 * @创建时间：2017-03-23
 * @Copyright @2017 by Mr.zheng
 */
public class ProductOrderDTO implements Serializable{

    private static final long serialVersionUID = 5030084967372934396L;

    /** 供应商id */
    private Long supplerId;

    /** 订单描述 */
    private String description;

    /** 联系人 */
    private String contacts;

    /** 联系电话 */
    private String telPhone;

    /** 详细地址 */
    private String address;

    /** 商品总金额 */
    private BigDecimal money;

    /** 订单总金额(物流费用+商品总金额) */
    private BigDecimal totalCost;

    /** 状态(0待审核，1待付款，2待发货，3已发货，4,交易完成，5交易关闭，6退货中，7已退货) */
    private Integer status;

    /** 下单时间 */
    private Date createTime;

    /** 代理商id */
    private Long agentId;

    /** 商户id(进货人) */
    private Long merchantId;

    /** 收货地址(ph_manager_order_address表id) */
    private Long shippingAddressId;

    /**商品信息*/
    private List<ProductDTO> productDTOList;

    public Long getSupplerId() {
        return supplerId;
    }

    public void setSupplerId(Long supplerId) {
        this.supplerId = supplerId;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getContacts() {
        return contacts;
    }

    public void setContacts(String contacts) {
        this.contacts = contacts;
    }

    public String getTelPhone() {
        return telPhone;
    }

    public void setTelPhone(String telPhone) {
        this.telPhone = telPhone;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public BigDecimal getMoney() {
        return money;
    }

    public void setMoney(BigDecimal money) {
        this.money = money;
    }

    public BigDecimal getTotalCost() {
        return totalCost;
    }

    public void setTotalCost(BigDecimal totalCost) {
        this.totalCost = totalCost;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Long getAgentId() {
        return agentId;
    }

    public void setAgentId(Long agentId) {
        this.agentId = agentId;
    }

    public Long getMerchantId() {
        return merchantId;
    }

    public void setMerchantId(Long merchantId) {
        this.merchantId = merchantId;
    }

    public Long getShippingAddressId() {
        return shippingAddressId;
    }

    public void setShippingAddressId(Long shippingAddressId) {
        this.shippingAddressId = shippingAddressId;
    }

    public List<ProductDTO> getProductDTOList() {
        return productDTOList;
    }

    public void setProductDTOList(List<ProductDTO> productDTOList) {
        this.productDTOList = productDTOList;
    }
}
